home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac: Not for Sale
/
Another.not.for.sale (Australia).iso
/
fade into you
/
being there
/
Issues & Ideas
/
TIA
/
TIA Scripts
/
tia-script-shaw
< prev
Wrap
Text File
|
1994-08-22
|
2KB
|
98 lines
!
! InterSLIP Script for NETCOM tia users
!
! InterSLIP is a Macintosh SLIP control that works with MacTCP
! to provide SLIP capability. It is distributed free of charge
! by Intercon, developers of various fine Macintosh Internet software
! including the original NCSA Telnet and their commercial spinoffs.
! InterSLIP is distributed by anonymous ftp to ftp.intercon.com:/sales
!
! Script written by Jeff Mealiffe <mealiffe@netcom.com>
! ftp://ftp.netcom.com/pub/mealiffe/http/jeff.html
!
!
@origniate
note "Waiting for prompt"
matchclr
matchstr 1 1 ">>"
matchread 50
note "Didn't get >>"
exit -1
@label 1
note "Disabling flow control"
write "df\13"
matchclr
matchstr 1 2 ">>"
matchread 50
note "Didn't get >>"
exit -1
@label 2
note "Waiting for prompt"
write "1\13"
matchclr
matchstr 1 3 "login: "
matchread 50
note "Host not responding!"
exit -1
!
@label 3
note "Sending user name"
write "^5\13"
matchclr
matchstr 1 4 "Password:"
matchread 50
note "Host not responding!"
exit -1
!
@label 4
note "Sending password"
write "^6\13"
matchclr
matchstr 1 6 "]:"
matchstr 2 5 "Login incorrect"
matchread 50
note "No terminal type prompt!"
exit -1
!
! Users will need to change "%" to match their shell prompt below.
!
@label 6
note "Waiting for prompt"
write "\13"
matchclr
matchstr 1 7 "%"
matchread 120
jump 99
!
@label 5
note "Login incorrect"
jump 99
!
@label 99
pause 1
sound
pause 60
exit -1
@label 7
note "Requesting SLIP via tia"
write "tia\13"
matchclr
matchstr 1 41 "Ready to start your SLIP software."
matchread 50
note "SLIP Gateway not responding!"
exit -1
!
@label 41
note "All done..."
pause 1
exit 0
!
! currently unused:
!
@answer
@hangup
exit 0